<?xml version="1.0"?>
<component name="org.nuxeo.ecm.automation.server.marshallers.override">

  <require>org.nuxeo.ecm.automation.server.marshallers</require>

  <extension point="marshallers" target="org.nuxeo.ecm.automation.server.AutomationServer">
    <marshaller>
      <reader>org.nuxeo.ecm.automation.io.rest.operations.JsonRequestReader</reader>
      <reader>org.nuxeo.ecm.automation.io.rest.operations.UrlEncodedFormRequestReader</reader>
      <reader>org.nuxeo.ecm.automation.io.rest.documents.BusinessAdapterReader</reader>
      <writer>org.nuxeo.ecm.automation.io.rest.operations.JsonAutomationInfoWriter</writer>
      <writer>org.nuxeo.ecm.automation.io.rest.JsonLoginInfoWriter</writer>
      <writer>org.nuxeo.ecm.automation.io.rest.operations.JsonOperationWriter</writer>
      <writer>org.nuxeo.ecm.automation.io.rest.operations.JsonHtmlOperationWriter</writer>
      <writer>org.nuxeo.ecm.automation.io.rest.JsonTreeWriter</writer>
      <writer>org.nuxeo.ecm.automation.io.rest.JsonAdapterWriter</writer>
      <writer>org.nuxeo.ecm.automation.io.rest.JsonRecordSetWriter</writer>
      <!-- delegates marshalling to nuxeo-core-io MarshallerRegistry service -->
      <writer>org.nuxeo.ecm.webengine.rest.coreiodelegate.CoreIODelegate</writer>
    </marshaller>
  </extension>

</component>
